/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const router = {
  path: '/company_self_ass',
  component: Layout,
  name: 'CompanySelfManage',
  alwaysShow: true,
  meta: {
    title: '企业自评',
    icon: 'el-icon-office-building'
  },
  children: [
    {
      name: 'fileTemplate',
      path: 'file_template',
      component: () => import('@/views/fileTemplate/index.vue'),
      meta: {
        title: '相关文件下载',
        icon: 'yuan-blue'
      }
    },
    {
      name: 'CompanySelfList',
      path: 'company_self_list',
      component: () => import('@/views/company_self_ass/index.vue'),
      meta: {
        title: '企业自评',
        icon: 'yuan-red'
      }
    },
    {
      name: 'CompanyForm',
      path: 'company_form',
      hidden: true,
      component: () => import('@/views/company_self_ass/form/index.vue'),
      meta: {
        title: '表单填写',
        icon: 'yuan-red'
      }
    },
    {
      name: 'CompanyFormUpdate',
      path: 'company_form_update',
      hidden: true,
      component: () => import('@/views/company_self_ass/updateForm/index.vue'),
      meta: {
        title: '表单修改',
        icon: 'yuan-red'
      }
    }
  ]
}
export default router
